import request from "@/utils/request";

// 会议列表
export function meetingListApi(data) {
  return request({
    url: "/system/meeting/list",
    method: "get",
    params: data,
  });
}

// 新增会议
export function addMertingApi(data) {
  return request({
    url: "/system/meeting",
    method: "post",
    data,
  });
}

// 会议文件
export function meetingFilesApi(data) {
  return request({
    url: "/system/meeting/fileInfo/" + data,
    method: "get",
  });
}

// 导入记录
// export function importHstriy(data) {
//   return request({
//     url: "/system/meeting/addFile",
//     method: "post",
//     data,
//   });
// }

// 修改会议
export function importHstriy(data){
  return request({
    url:'/system/meetingdetail',
    method: "put",
    data
  })
}

// 文件批量下载
export function fileUploadApi(data){
  return request({
    url:'/common/downloads/resources',
    method:"post",
    data
  })
}
